from django.contrib import admin

# Register your models here.
from graph.models import Edge, Node


@admin.register(Node)
class NodeAdmin(admin.ModelAdmin):
    list_display = ('id', 'name', 'belong_to', 'desc', 'identifier', 'is_delete', 'category')


@admin.register(Edge)
class EdgeAdmin(admin.ModelAdmin):
    list_display = ('id', 'source', 'target', 'value', 'is_delete')